package es.udc.emarketapp.emarket.test;

import es.udc.emarketapp.emarket.model.categoryFacade.CategoryFacade;


public final class PruebaCategoryFacade {
	
    public static void main (String[] args) throws Exception {
     	
       
    	   CategoryFacade categoryFacade = new CategoryFacade();
       

           //Prueba CreateCategory de CategoryFacade   ++++++++++++++++++
          
          /*
                CategoryVO categoryVO = new CategoryVO(null, "golosinas");
                categoryFacade.createCategory(categoryVO);
           */
          


           //Prueba DeleteCategory de CategoryFacade   ++++++++++++++++++
            /*
                categoryFacade.deleteCategory(new Long(3));

              */

          // Prueba ModifyCategory de CategoryFacade   ++++++++++++++++++

                categoryFacade.modifyCategory(new Long(24), "bebidas espirituosas", new Long(5));




    } // main
} // class